package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsChannelMaint", catalog="Id")
public class TccLogisticsChannelMaint extends BaseEntity<TccLogisticsChannelMaint> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="LogsticsChannelName", nameJava="logsticsChannelName", typeDataBase="varchar")
	private String logsticsChannelName;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="FreightMethod", nameJava="freightMethod", typeDataBase="tinyint")
	private Integer freightMethod;
	@YsField(nameDataBase="LogsticsWay", nameJava="logsticsWay", typeDataBase="varchar")
	private String logsticsWay;
	@YsField(nameDataBase="ProviderCode", nameJava="providerCode", typeDataBase="varchar")
	private String providerCode;
	@YsField(nameDataBase="Country", nameJava="country", typeDataBase="varchar")
	private String country;
	@YsField(nameDataBase="TransportationId", nameJava="transportationId", typeDataBase="bigint")
	private Long transportationId;
	@YsField(nameDataBase="NameLogsticsClearance", nameJava="nameLogsticsClearance", typeDataBase="tinyint")
	private Integer nameLogsticsClearance;
	@YsField(nameDataBase="DivisionalRule", nameJava="divisionalRule", typeDataBase="tinyint")
	private Integer divisionalRule;
	@YsField(nameDataBase="EstimatedDayFrom", nameJava="estimatedDayFrom", typeDataBase="int")
	private Integer estimatedDayFrom;
	@YsField(nameDataBase="EstimatedDayTo", nameJava="estimatedDayTo", typeDataBase="int")
	private Integer estimatedDayTo;
	@YsField(nameDataBase="OvertimeFee", nameJava="overtimeFee", typeDataBase="decimal")
	private BigDecimal overtimeFee;
	@YsField(nameDataBase="CoefficientWeight", nameJava="coefficientWeight", typeDataBase="int")
	private Integer coefficientWeight;
	@YsField(nameDataBase="SinglePassCrane", nameJava="singlePassCrane", typeDataBase="decimal")
	private BigDecimal singlePassCrane;
	@YsField(nameDataBase="WeightCalBySingle", nameJava="weightCalBySingle", typeDataBase="decimal")
	private BigDecimal weightCalBySingle;
	@YsField(nameDataBase="SingleBoxReqAmountMin", nameJava="singleBoxReqAmountMin", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMin;
	@YsField(nameDataBase="SingleBoxReqAmountMax", nameJava="singleBoxReqAmountMax", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMax;
	@YsField(nameDataBase="ClearanceOpeAmount", nameJava="clearanceOpeAmount", typeDataBase="decimal")
	private BigDecimal clearanceOpeAmount;
	@YsField(nameDataBase="FreeProNameNum", nameJava="freeProNameNum", typeDataBase="int")
	private Integer freeProNameNum;
	@YsField(nameDataBase="MaxProNameNum", nameJava="maxProNameNum", typeDataBase="int")
	private Integer maxProNameNum;
	@YsField(nameDataBase="AdditionalStandardAmount", nameJava="additionalStandardAmount", typeDataBase="decimal")
	private BigDecimal additionalStandardAmount;
	@YsField(nameDataBase="ChannelBaoguanId", nameJava="channelBaoguanId", typeDataBase="bigint")
	private Long channelBaoguanId;
	@YsField(nameDataBase="Baoguan", nameJava="baoguan", typeDataBase="varchar")
	private String baoguan;
	@YsField(nameDataBase="ChannelQingguanId", nameJava="channelQingguanId", typeDataBase="bigint")
	private Long channelQingguanId;
	@YsField(nameDataBase="Qingguan", nameJava="qingguan", typeDataBase="varchar")
	private String qingguan;
	@YsField(nameDataBase="ChannelStockId", nameJava="channelStockId", typeDataBase="bigint")
	private Long channelStockId;
	@YsField(nameDataBase="Stock", nameJava="stock", typeDataBase="varchar")
	private String stock;
	@YsField(nameDataBase="ChannelValueId", nameJava="channelValueId", typeDataBase="bigint")
	private Long channelValueId;
	@YsField(nameDataBase="ValueCode", nameJava="valueCode", typeDataBase="varchar")
	private String valueCode;
	@YsField(nameDataBase="ChannelWorgnoId", nameJava="channelWorgnoId", typeDataBase="bigint")
	private Long channelWorgnoId;
	@YsField(nameDataBase="Worgno", nameJava="worgno", typeDataBase="varchar")
	private String worgno;
	@YsField(nameDataBase="ChannelTypeName", nameJava="channelTypeName", typeDataBase="varchar")
	private String channelTypeName;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsChannelMaint setId(Long id) {
		this.id = id;
		return this;
	}
	public String getLogsticsChannelName() {
		return logsticsChannelName;
	}
	public TccLogisticsChannelMaint setLogsticsChannelName(String logsticsChannelName) {
		this.logsticsChannelName = logsticsChannelName;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccLogisticsChannelMaint setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public Integer getFreightMethod() {
		return freightMethod;
	}
	public TccLogisticsChannelMaint setFreightMethod(Integer freightMethod) {
		this.freightMethod = freightMethod;
		return this;
	}
	public String getLogsticsWay() {
		return logsticsWay;
	}
	public TccLogisticsChannelMaint setLogsticsWay(String logsticsWay) {
		this.logsticsWay = logsticsWay;
		return this;
	}
	public String getProviderCode() {
		return providerCode;
	}
	public TccLogisticsChannelMaint setProviderCode(String providerCode) {
		this.providerCode = providerCode;
		return this;
	}
	public String getCountry() {
		return country;
	}
	public TccLogisticsChannelMaint setCountry(String country) {
		this.country = country;
		return this;
	}
	public Long getTransportationId() {
		return transportationId;
	}
	public TccLogisticsChannelMaint setTransportationId(Long transportationId) {
		this.transportationId = transportationId;
		return this;
	}
	public Integer getNameLogsticsClearance() {
		return nameLogsticsClearance;
	}
	public TccLogisticsChannelMaint setNameLogsticsClearance(Integer nameLogsticsClearance) {
		this.nameLogsticsClearance = nameLogsticsClearance;
		return this;
	}
	public Integer getDivisionalRule() {
		return divisionalRule;
	}
	public TccLogisticsChannelMaint setDivisionalRule(Integer divisionalRule) {
		this.divisionalRule = divisionalRule;
		return this;
	}
	public Integer getEstimatedDayFrom() {
		return estimatedDayFrom;
	}
	public TccLogisticsChannelMaint setEstimatedDayFrom(Integer estimatedDayFrom) {
		this.estimatedDayFrom = estimatedDayFrom;
		return this;
	}
	public Integer getEstimatedDayTo() {
		return estimatedDayTo;
	}
	public TccLogisticsChannelMaint setEstimatedDayTo(Integer estimatedDayTo) {
		this.estimatedDayTo = estimatedDayTo;
		return this;
	}
	public BigDecimal getOvertimeFee() {
		return overtimeFee;
	}
	public TccLogisticsChannelMaint setOvertimeFee(BigDecimal overtimeFee) {
		this.overtimeFee = overtimeFee;
		return this;
	}
	public Integer getCoefficientWeight() {
		return coefficientWeight;
	}
	public TccLogisticsChannelMaint setCoefficientWeight(Integer coefficientWeight) {
		this.coefficientWeight = coefficientWeight;
		return this;
	}
	public BigDecimal getSinglePassCrane() {
		return singlePassCrane;
	}
	public TccLogisticsChannelMaint setSinglePassCrane(BigDecimal singlePassCrane) {
		this.singlePassCrane = singlePassCrane;
		return this;
	}
	public BigDecimal getWeightCalBySingle() {
		return weightCalBySingle;
	}
	public TccLogisticsChannelMaint setWeightCalBySingle(BigDecimal weightCalBySingle) {
		this.weightCalBySingle = weightCalBySingle;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMin() {
		return singleBoxReqAmountMin;
	}
	public TccLogisticsChannelMaint setSingleBoxReqAmountMin(BigDecimal singleBoxReqAmountMin) {
		this.singleBoxReqAmountMin = singleBoxReqAmountMin;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMax() {
		return singleBoxReqAmountMax;
	}
	public TccLogisticsChannelMaint setSingleBoxReqAmountMax(BigDecimal singleBoxReqAmountMax) {
		this.singleBoxReqAmountMax = singleBoxReqAmountMax;
		return this;
	}
	public BigDecimal getClearanceOpeAmount() {
		return clearanceOpeAmount;
	}
	public TccLogisticsChannelMaint setClearanceOpeAmount(BigDecimal clearanceOpeAmount) {
		this.clearanceOpeAmount = clearanceOpeAmount;
		return this;
	}
	public Integer getFreeProNameNum() {
		return freeProNameNum;
	}
	public TccLogisticsChannelMaint setFreeProNameNum(Integer freeProNameNum) {
		this.freeProNameNum = freeProNameNum;
		return this;
	}
	public Integer getMaxProNameNum() {
		return maxProNameNum;
	}
	public TccLogisticsChannelMaint setMaxProNameNum(Integer maxProNameNum) {
		this.maxProNameNum = maxProNameNum;
		return this;
	}
	public BigDecimal getAdditionalStandardAmount() {
		return additionalStandardAmount;
	}
	public TccLogisticsChannelMaint setAdditionalStandardAmount(BigDecimal additionalStandardAmount) {
		this.additionalStandardAmount = additionalStandardAmount;
		return this;
	}
	public Long getChannelBaoguanId() {
		return channelBaoguanId;
	}
	public TccLogisticsChannelMaint setChannelBaoguanId(Long channelBaoguanId) {
		this.channelBaoguanId = channelBaoguanId;
		return this;
	}
	public String getBaoguan() {
		return baoguan;
	}
	public TccLogisticsChannelMaint setBaoguan(String baoguan) {
		this.baoguan = baoguan;
		return this;
	}
	public Long getChannelQingguanId() {
		return channelQingguanId;
	}
	public TccLogisticsChannelMaint setChannelQingguanId(Long channelQingguanId) {
		this.channelQingguanId = channelQingguanId;
		return this;
	}
	public String getQingguan() {
		return qingguan;
	}
	public TccLogisticsChannelMaint setQingguan(String qingguan) {
		this.qingguan = qingguan;
		return this;
	}
	public Long getChannelStockId() {
		return channelStockId;
	}
	public TccLogisticsChannelMaint setChannelStockId(Long channelStockId) {
		this.channelStockId = channelStockId;
		return this;
	}
	public String getStock() {
		return stock;
	}
	public TccLogisticsChannelMaint setStock(String stock) {
		this.stock = stock;
		return this;
	}
	public Long getChannelValueId() {
		return channelValueId;
	}
	public TccLogisticsChannelMaint setChannelValueId(Long channelValueId) {
		this.channelValueId = channelValueId;
		return this;
	}
	public String getValueCode() {
		return valueCode;
	}
	public TccLogisticsChannelMaint setValueCode(String valueCode) {
		this.valueCode = valueCode;
		return this;
	}
	public Long getChannelWorgnoId() {
		return channelWorgnoId;
	}
	public TccLogisticsChannelMaint setChannelWorgnoId(Long channelWorgnoId) {
		this.channelWorgnoId = channelWorgnoId;
		return this;
	}
	public String getWorgno() {
		return worgno;
	}
	public TccLogisticsChannelMaint setWorgno(String worgno) {
		this.worgno = worgno;
		return this;
	}
	public String getChannelTypeName() {
		return channelTypeName;
	}
	public TccLogisticsChannelMaint setChannelTypeName(String channelTypeName) {
		this.channelTypeName = channelTypeName;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccLogisticsChannelMaint setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsChannelMaint setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsChannelMaint setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsChannelMaint setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsChannelMaint tccLogisticsChannelMaint(
		String logsticsChannelName,
		String cck,
		Integer freightMethod,
		String logsticsWay,
		String providerCode,
		String country,
		Long transportationId,
		Integer nameLogsticsClearance,
		Integer divisionalRule,
		Integer estimatedDayFrom,
		Integer estimatedDayTo,
		BigDecimal overtimeFee,
		Integer coefficientWeight,
		BigDecimal singlePassCrane,
		BigDecimal weightCalBySingle,
		BigDecimal singleBoxReqAmountMin,
		BigDecimal singleBoxReqAmountMax,
		BigDecimal clearanceOpeAmount,
		Integer freeProNameNum,
		Integer maxProNameNum,
		BigDecimal additionalStandardAmount,
		Long channelBaoguanId,
		String baoguan,
		Long channelQingguanId,
		String qingguan,
		Long channelStockId,
		String stock,
		Long channelValueId,
		String valueCode,
		Long channelWorgnoId,
		String worgno,
		String channelTypeName,
		String remark,
		Integer status
			) {
		TccLogisticsChannelMaint entity = new TccLogisticsChannelMaint();
		entity.setLogsticsChannelName(logsticsChannelName);
		entity.setCck(cck);
		entity.setFreightMethod(freightMethod);
		entity.setLogsticsWay(logsticsWay);
		entity.setProviderCode(providerCode);
		entity.setCountry(country);
		entity.setTransportationId(transportationId);
		entity.setNameLogsticsClearance(nameLogsticsClearance);
		entity.setDivisionalRule(divisionalRule);
		entity.setEstimatedDayFrom(estimatedDayFrom);
		entity.setEstimatedDayTo(estimatedDayTo);
		entity.setOvertimeFee(overtimeFee);
		entity.setCoefficientWeight(coefficientWeight);
		entity.setSinglePassCrane(singlePassCrane);
		entity.setWeightCalBySingle(weightCalBySingle);
		entity.setSingleBoxReqAmountMin(singleBoxReqAmountMin);
		entity.setSingleBoxReqAmountMax(singleBoxReqAmountMax);
		entity.setClearanceOpeAmount(clearanceOpeAmount);
		entity.setFreeProNameNum(freeProNameNum);
		entity.setMaxProNameNum(maxProNameNum);
		entity.setAdditionalStandardAmount(additionalStandardAmount);
		entity.setChannelBaoguanId(channelBaoguanId);
		entity.setBaoguan(baoguan);
		entity.setChannelQingguanId(channelQingguanId);
		entity.setQingguan(qingguan);
		entity.setChannelStockId(channelStockId);
		entity.setStock(stock);
		entity.setChannelValueId(channelValueId);
		entity.setValueCode(valueCode);
		entity.setChannelWorgnoId(channelWorgnoId);
		entity.setWorgno(worgno);
		entity.setChannelTypeName(channelTypeName);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}